<aside>
  <!-- 上方会员信息 -->
  <ul class="vip_info">
    <li style="position: relative">
      <?php $head = isHave(user::$userInfo['headimgurl']) ? getImgUrl(user::$userInfo['headimgurl']) : IMG_PATH.'mobile/head_null.png'; ?>
      <img  id="himage" style="width: 110px;height: 110px;border-radius:50%" src="<?php echo $head ?>" alt="会员头像">
      <img  class="vip_level" style="width: 60px;" src="<?php echo IMG_PATH ?>mobile/vip<?php echo user::$userInfo['user_level'] ?>.png">
    </li>
    <li class="text_li">
      <?php if(isHave(user::$userInfo['username'])){ ?>
        <span class="vip_phone"><?php echo user::$userInfo['username'] ?></span>
      <?php    
        }else{
      ?>
        <span class="vip_phone"><?php echo substr_replace(user::$userInfo['phone'], '****', 3, 4); ?></span>
      <?php } ?>
    </li>
    <li class="text_li">
      <span class="welcome">欢迎VIP会员</span>
    </li>
  </ul>
  <!-- 下方选项列表 -->
  <ul class="select_list">
    <li <?php if(strstr(MODEL_NAME, 'index')){ ?> class="on" <?php } ?> onclick="window.location.href='<?php echo U("user/index") ?>'"> 会员中心 </li>
    <li <?php if(strstr(MODEL_NAME, 'center')){ ?> class="on" <?php } ?> onclick="window.location.href='<?php echo U("user/center") ?>'"> 个人中心 </li>
    <li <?php if(strstr(MODEL_NAME, 'safe')){ ?> class="on" <?php } ?> onclick="window.location.href='<?php echo U("user/safe") ?>'"> 账号安全 </li>
    <!-- <li class="open_vip" onclick="window.location.href='<?php echo U("user/open") ?>'"> 开通会员 </li> -->
  </ul>
</aside>